-
Notifications
You must be signed in to change notification settings - Fork 1.9k
UI : Fix mobile display #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is a partial fix for issue NoFxAiOS#311 mobile display problems. Changes in this commit: - Add responsive header layout with separate mobile/desktop views in App.tsx - Fix language selector visibility on mobile (no longer hidden by menu) - Add responsive breakpoints to ComparisonChart stats grid (2 cols on mobile, 4 on desktop) - Adjust padding and text sizes for mobile screens - Preserve all i18n (internationalization) functionality from upstream Note: Additional components (CompetitionPage, AITradersPage) will need similar mobile responsive improvements in follow-up commits. Related to NoFxAiOS#311 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
…s and Competition pages Optimized mobile display for AITradersPage: - Header: Reduced padding (px-3 on mobile), smaller icons and text - Action buttons: Smaller on mobile (px-3, text-xs) with horizontal scroll support - Configuration cards: Responsive padding (p-3 on mobile), smaller gaps - Model/Exchange items: Smaller icons (w-7 on mobile), truncate text overflow - Trader list: Stack vertically on mobile, smaller buttons with wrapping support - Empty states: Smaller icons and text on mobile Maintained all i18n translations and preserved Binance design style. Addresses NoFxAiOS#311 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Advisory Check ResultsThese are advisory checks to help improve code quality. They won't block your PR from being merged.
🔧 Backend ChecksGo Formatting: Files needing formattingGo Vet: ✅ Good Fix locally: go fmt ./... # Format code
go vet ./... # Check for issues
go test ./... # Run tests⚛️ Frontend ChecksBuild & Type Check: ✅ Success Fix locally: cd web
npm run build # Test build (includes type checking)📖 ResourcesQuestions? Feel free to ask in the comments! 🙏 These checks are advisory and won't block your PR from being merged. This comment is automatically generated from pr-checks-run.yml. |
📋 PR 代码审查报告✅ 总体评价:7.5/10 - 条件性批准合并 👍📝 变更内容总结此 PR 成功实现了移动端响应式设计,修复了 issue #311 中的移动端显示问题。 主要变更:1. App.tsx (web/src/App.tsx:194-338)
2. AITradersPage.tsx (web/src/components/AITradersPage.tsx:457-728)
3. ComparisonChart.tsx (web/src/components/ComparisonChart.tsx:316-339)
4. CompetitionPage.tsx (web/src/components/CompetitionPage.tsx:76-267)
🎯 优点
|
UI : Fix mobile display
English:
Fix mobile display
中文:
修复移动端适配问题
🎯 Type of Change | 变更类型
before fix


after fix